<include file="Public:head" />
<style>
    tr td{
        text-align: center;
    }
    .width20{
        width: 140px !important;
        margin-left: 10px;
        min-width: 131px;
    }
    .mingchen{
        width: 300px;
        overflow: hidden;
        display: inline-block;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
</style>
<body class="overflow-hidden">
<div class="wrapper preload">
    <include file="Public:header" />
    <include file="Public:left" />

    <div class="main-container">
        <div class="padding-md">
            <div class="row">
                <div class="col-sm-12">
                    <div class="page-title">
                        组合信息
                    </div>
                </div>
            </div>
            <div class="col-sm-12 row chach">
                <form action="" id="searchForm" name="searchform"method="get">
                    <div class="right_select">
                        <!-- <select class="select_1_2" name="typeid">
                              <option value="">全部人员</option>
                             <volist name="userList" id="vo">
                                 <option value="{$vo.id}">{$vo.username}</option>
                             </volist>
                          </select>-->
                        <!--<select class="select1_1">
                            <option value="1">费用已收</option>
                            <option value="2">费用未收</option>
                        </select>-->
                        <!-- <select class="select_1_2" name="typeid">
                             <option value="">全部人员</option>
                             <option value="1" <if condition="$data.typeid eq 1">selected</if>>查新管理员</option>
                             <option value="12" <if condition="$data.typeid eq 12">selected</if>>收费员</option>
                             <option value="10" <if condition="$data.typeid eq 10">selected</if>>查新员</option>
                             <option value="11" <if condition="$data.typeid eq 11">selected</if>>审核员</option>
                         </select>-->
                        <select class="form-control width20" name="cxfw" style="margin-left: 0px;width: 145px;">
                            <option value="">全部查新范围</option>
                            <option value="1" <if condition="$data.cxfw eq 1">selected</if>>国内</option>
                            <option value="2" <if condition="$data.cxfw eq 2">selected</if>>国外</option>
                            <option value="3" <if condition="$data.cxfw eq 3">selected</if>>国内外</option>
                        </select>
                        <select class="form-control width20" name="cxmd">
                            <option value="">全部查新目的</option>
                            <option value="1" <if condition="$data.cxmd eq 1">selected</if>>科研立项</option>
                            <option value="2" <if condition="$data.cxmd eq 2">selected</if>>鉴定、验收、评价</option>
                            <option value="3" <if condition="$data.cxmd eq 3">selected</if>>奖励申报</option>
                            <option value="4" <if condition="$data.cxmd eq 4">selected</if>>申请专利</option>
                            <option value="5" <if condition="$data.cxmd eq 5">selected</if>>博硕士论文开题</option>
                            <option value="6">其他</option>
                        </select>
                        <select class="form-control width20" name="xmjb">
                            <option value="">全部项目级别</option>
                            <option value="1" <if condition="$data.xmjb eq 1">selected</if>>国家级</option>
                            <option value="2" <if condition="$data.xmjb eq 2">selected</if>>省部级</option>
                            <option value="3" <if condition="$data.xmjb eq 3">selected</if>>市级</option>
                            <option value="4" <if condition="$data.xmjb eq 4">selected</if>>其他</option>
                        </select>
                            <input type="text" id="B_number1" class="form-control width20" onClick="WdatePicker()" name="starttime" value="{$data.starttime}">
                            <input type="text" id="B_number2" class="form-control width20" onClick="WdatePicker()" name="endtime" value="{$data.endtime}">
                    </div>
                    <!--<p style="clear: both"></p>-->
                    <div style="">
                        <!--<button class="select_btn" type="submit">查&nbsp询</button>
                        <button class="select_btn" type="submit">打&nbsp印</button>
                        <button class="select_btn">下&nbsp载</button>
                        <a href="" class="select_btn" style="width: 150px;">生成详细年度报告</a>-->
                        <input type="submit"  class="action-button"  value="搜索" onclick="checkaction(1);"/>
                        <!--<input type="submit"  class="action-button"  value="打印" onclick="checkaction(3);"/>-->
                        <input type="submit"  class="action-button"  value="下载" onclick="checkaction(2);"/>
                        <input type="submit"  class="action-button" style="width: 150px;"  value="生成详细年度报告" onclick="checkaction(0);"/>
                    </div>
                </form>
                <!--<form action="__SELF__" method="post">-->
                    <!--<div class="right_select">-->
                        <!--<input name="cxh" type="text" placeholder="查新号" value="{$map['cxh']}"  class="form-control width20" >-->
                        <!--<input name="xmmc" type="text" placeholder="项目名称" value="{$xmmc}" class="form-control width20" style="margin-left: 20px">-->
                    <!--</div>-->
                    <!--<button type="submit" class="action-button">查询</button>-->
                <!--</form>-->
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="smart-widget widget-green">
                        <div class="smart-widget-header row ">
                            <span class="smart-widget-option">
                                <span class="refresh-icon-animated">
                                    <i class="fa fa-spinner fa-spin" style="color:#fff"></i>
                                </span>
                                <a href="#" class="widget-toggle-hidden-option">
                                </a>
                                <a href="#" class="widget-collapse-option" data-toggle="collapse">
                                </a>
                                <a href="#" class="widget-refresh-option">
                                </a>
                            </span>
                        </div>
                        <div class="smart-widget-inner table-responsive">
                            <div class="smart-widget-hidden-section">
                                <ul class="widget-color-list clearfix">
                                    <li style="background-color:#20232b;" data-color="widget-dark"></li>
                                    <li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
                                    <li style="background-color:#23b7e5;" data-color="widget-blue"></li>
                                    <li style="background-color:#1fb5ac;" data-color="widget-green"></li>
                                    <li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
                                    <li style="background-color:#fbc852;" data-color="widget-orange"></li>
                                    <li style="background-color:#e36159;" data-color="widget-red"></li>
                                    <li style="background-color:#7266ba;" data-color="widget-purple"></li>
                                    <li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
                                    <li style="background-color:#fff;" data-color="reset"></li>
                                </ul>
                            </div>
                            <table class="table table-striped no-margin">
                                <thead>
                                <tr>
                                    <th class="text-center" style="width: 80px">序号</th>
                                    <th class="text-center " >项目名称</th>
                                    <th class="text-center"style="width: 200px">查新号</th>
                                    <th class="text-center"style="width: 200px">委托人</th>
                                    <th class="text-center"style="width: 200px">委托日期</th>
                                    <th class="text-center"style="width: 200px">查新报告</th>
                                    <th class="text-center"style="width: 200px">处理状态</th>
                                </tr>
                                </thead>
                                <tbody>
                                <notempty name="_list">
                                    <volist name="_list" id="vo" key="key">
                                        <tr>
                                            <td>{$key+$num}</td>
                                            <td style="text-align: left"><a href="{:U('Task/kjcx_browser',array('id'=>$vo['id']))}" class="mingchen">{$vo.xmmc}</a></td>
                                            <td>{$vo.cxh}</td>
                                            <td>{$vo.wtrname}</td>
                                            <td title="{$vo.intime}">{$vo.intime|substr=0,-8}</td>
                                            <td>
                                                <if condition="$vo['cx_file_ids']">
                                                    <foreach name="vo.fileId" item="file" key="k">
                                                        <a href="{:U('Task/down_file',array('file_id'=>$file['fid']))}"><img src="__IMG__/unit/baogao.png" width='17px;' hright="17px;"></a>&nbsp;
                                                    </foreach>
                                                </if>
                                            </td>
                                            <td>{$vo.process_id|getTitleByProcessId=$vo['department_id']}</td>
                                        </tr>
                                    </volist>
                                    <else/>
                                    <tr>
                                        <td colspan="11">对不起！暂时还没有数据！</td>
                                    </tr>
                                </notempty>
                                </tbody>
                            </table>
                            <div class="choose-page row">
                                {$_page}
                            </div>
                        </div><!-- ./smart-widget-inner -->
                    </div><!-- ./smart-widget -->
                </div><!-- ./col -->
            </div><!-- ./row -->
        </div><!-- ./padding-md -->
    </div><!-- /main-container -->
    <include file="Public:foot" />
</div><!-- /wrapper -->
<include file="Public/base_fc" />
<a href="#" class="scroll-to-top hidden-print"><i class="fa fa-chevron-up fa-lg"></i></a>
</body>
</html>
<block name="script">
    <script>
        $(function(){
            highlight_nav2('{:U("Account/index")}');

        })

        function checkaction(v){
            if(v==0){
                document.searchform.action="{:U('Account/export')}";
            }else if(v==1){
                document.searchform.action="{:U('Account/index')}";
            }else if(v==2){
                document.searchform.action="{:U('Account/download')}";
            }
            searchform.submit();
        }
    </script>
</block>
